package com.jindy.module.oaEvectionApproval.mapper;

import java.util.List;
import com.jindy.module.oaEvectionApproval.domain.SyOaEvection;

/**
 * 出差申请Mapper接口
 * 
 * @author jindy
 * @date 2023-05-31
 */
public interface SyOaEvectionMapper 
{
    /**
     * 查询出差申请
     * 
     * @param id 出差申请主键
     * @return 出差申请
     */
    public SyOaEvection selectSyOaEvectionById(Long id);

    /**
     * 查询出差申请列表
     * 
     * @param syOaEvection 出差申请
     * @return 出差申请集合
     */
    public List<SyOaEvection> selectSyOaEvectionList(SyOaEvection syOaEvection);

    /**
     * 新增出差申请
     * 
     * @param syOaEvection 出差申请
     * @return 结果
     */
    public int insertSyOaEvection(SyOaEvection syOaEvection);

    /**
     * 修改出差申请
     * 
     * @param syOaEvection 出差申请
     * @return 结果
     */
    public int updateSyOaEvection(SyOaEvection syOaEvection);

    /**
     * 删除出差申请
     * 
     * @param id 出差申请主键
     * @return 结果
     */
    public int deleteSyOaEvectionById(Long id);

    /**
     * 批量删除出差申请
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSyOaEvectionByIds(Long[] ids);
}
